package com.by.service;

import com.by.bean.Organize;
import com.by.bean.Role;

import java.util.List;

/**
 * @author HY
 * @version 1.0
 * @description
 * @date 2025/2/17
 * @since JDK21
 */
public interface RoleService {
    int save(Role role);

    int update(Role role);

    int delete(int id);

    List<Role> query();

    List<Role> queryByName(String name, int status) ;
}
